// CodeGear C++Builder
// Copyright (c) 1995, 2015 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'ocv.highgui_c.pas' rev: 30.00 (Windows)

#ifndef Ocv_Highgui_cHPP
#define Ocv_Highgui_cHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>
#include <SysInit.hpp>
#include <ocv.core.types_c.hpp>
#include <ocv.core_c.hpp>

//-- user supplied -----------------------------------------------------------

namespace Ocv
{
namespace Highgui_c
{
//-- forward type declarations -----------------------------------------------
struct DECLSPEC_DRECORD TCvCapture
{
};


//-- type declarations -------------------------------------------------------
typedef System::StaticArray<char *, 1> TArgvArray;

typedef TArgvArray *pArgvArray;

typedef int __cdecl (*Tpt2Func)(int argc, pArgvArray argv);

typedef void __cdecl (*TCvButtonCallback)(int state, void * userdata);

typedef int __cdecl (*TcvInitSystem)(int argc, Ocv::Core::Types_c::ppCVChar argv);

typedef int __cdecl (*TcvNamedWindow)(const char * name, int flags/* = 0x1*/);

typedef void __cdecl (*TcvShowImage)(const char * name, const void * image);

typedef void __cdecl (*TcvResizeWindow)(char * name, int width, int height);

typedef void __cdecl (*TcvDestroyWindow)(const char * name);

typedef void __cdecl (*TCvTrackbarCallback)(int pos);

typedef int __cdecl (*TcvCreateTrackbar)(const char * trackbar_name, const char * window_name, System::PInteger value, int count, TCvTrackbarCallback on_change);

typedef void __cdecl (*TCvTrackbarCallback2)(int pos, void * userdata);

typedef void __cdecl (*TCvMouseCallback)(int event, int x, int y, int flags, void * param);

typedef Ocv::Core::Types_c::pIplImage __cdecl (*TcvLoadImage)(const char * filename, int iscolor/* = 0xffffffff*/);

typedef int __cdecl (*TcvSaveImage)(const char * filename, const void * image, const System::PInteger params/* = (System::PInteger)(0x0)*/);

typedef void __cdecl (*TcvConvertImage)(const void * src, void * dst, int flags/* = 0x0*/);

typedef int __cdecl (*TcvWaitKey)(int delay/* = 0x0*/);

typedef void __cdecl (*TCvOpenGlDrawCallback)(void * userdata);

typedef TCvCapture *pCvCapture;

typedef pCvCapture __cdecl (*TcvCreateFileCapture)(const char * filename);

typedef pCvCapture __cdecl (*TcvCreateCameraCapture)(int index);

typedef int TCvVideoWriter;

typedef int *pCvVideoWriter;

typedef pCvVideoWriter *ppCvVideoWriter;

typedef pCvVideoWriter __cdecl (*TcvCreateVideoWriter)(const char * filename, int fourcc, double fps, const Ocv::Core::Types_c::TCvSize frame_size, int is_color/* = 0x1*/);

typedef int __cdecl (*TcvWriteFrame)(pCvVideoWriter writer, Ocv::Core::Types_c::pIplImage image);

typedef void __cdecl (*TcvSetPreprocessFuncWin32_)(const void * callback);

typedef void __cdecl (*TcvSetPostprocessFuncWin32_)(const void * callback);

//-- var, const, procedure ---------------------------------------------------
static const System::Int8 CV_FONT_LIGHT = System::Int8(0x19);
static const System::Int8 CV_FONT_NORMAL = System::Int8(0x32);
static const System::Int8 CV_FONT_DEMIBOLD = System::Int8(0x3f);
static const System::Int8 CV_FONT_BOLD = System::Int8(0x4b);
static const System::Int8 CV_FONT_BLACK = System::Int8(0x57);
static const System::Int8 CV_STYLE_NORMAL = System::Int8(0x0);
static const System::Int8 CV_STYLE_ITALIC = System::Int8(0x1);
static const System::Int8 CV_STYLE_OBLIQUE = System::Int8(0x2);
static const System::Int8 CV_PUSH_BUTTON = System::Int8(0x0);
static const System::Int8 CV_CHECKBOX = System::Int8(0x1);
static const System::Int8 CV_RADIOBOX = System::Int8(0x2);
static const System::Int8 CV_WND_PROP_FULLSCREEN = System::Int8(0x0);
static const System::Int8 CV_WND_PROP_AUTOSIZE = System::Int8(0x1);
static const System::Int8 CV_WND_PROP_ASPECTRATIO = System::Int8(0x2);
static const System::Int8 CV_WND_PROP_OPENGL = System::Int8(0x3);
static const System::Int8 CV_WINDOW_NORMAL = System::Int8(0x0);
static const System::Int8 CV_WINDOW_AUTOSIZE = System::Int8(0x1);
static const System::Word CV_WINDOW_OPENGL = System::Word(0x1000);
static const System::Int8 CV_GUI_EXPANDED = System::Int8(0x0);
static const System::Int8 CV_GUI_NORMAL = System::Int8(0x10);
static const System::Int8 CV_WINDOW_FULLSCREEN = System::Int8(0x1);
static const System::Word CV_WINDOW_FREERATIO = System::Word(0x100);
static const System::Int8 CV_WINDOW_KEEPRATIO = System::Int8(0x0);
static const System::Int8 CV_EVENT_MOUSEMOVE = System::Int8(0x0);
static const System::Int8 CV_EVENT_LBUTTONDOWN = System::Int8(0x1);
static const System::Int8 CV_EVENT_RBUTTONDOWN = System::Int8(0x2);
static const System::Int8 CV_EVENT_MBUTTONDOWN = System::Int8(0x3);
static const System::Int8 CV_EVENT_LBUTTONUP = System::Int8(0x4);
static const System::Int8 CV_EVENT_RBUTTONUP = System::Int8(0x5);
static const System::Int8 CV_EVENT_MBUTTONUP = System::Int8(0x6);
static const System::Int8 CV_EVENT_LBUTTONDBLCLK = System::Int8(0x7);
static const System::Int8 CV_EVENT_RBUTTONDBLCLK = System::Int8(0x8);
static const System::Int8 CV_EVENT_MBUTTONDBLCLK = System::Int8(0x9);
static const System::Int8 CV_EVENT_FLAG_LBUTTON = System::Int8(0x1);
static const System::Int8 CV_EVENT_FLAG_RBUTTON = System::Int8(0x2);
static const System::Int8 CV_EVENT_FLAG_MBUTTON = System::Int8(0x4);
static const System::Int8 CV_EVENT_FLAG_CTRLKEY = System::Int8(0x8);
static const System::Int8 CV_EVENT_FLAG_SHIFTKEY = System::Int8(0x10);
static const System::Int8 CV_EVENT_FLAG_ALTKEY = System::Int8(0x20);
static const System::Int8 CV_LOAD_IMAGE_UNCHANGED = System::Int8(-1);
static const System::Int8 CV_LOAD_IMAGE_GRAYSCALE = System::Int8(0x0);
static const System::Int8 CV_LOAD_IMAGE_COLOR = System::Int8(0x1);
static const System::Int8 CV_LOAD_IMAGE_ANYDEPTH = System::Int8(0x2);
static const System::Int8 CV_LOAD_IMAGE_ANYCOLOR = System::Int8(0x4);
static const System::Int8 CV_IMWRITE_JPEG_QUALITY = System::Int8(0x1);
static const System::Int8 CV_IMWRITE_PNG_COMPRESSION = System::Int8(0x10);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY = System::Int8(0x11);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY_DEFAULT = System::Int8(0x0);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY_FILTERED = System::Int8(0x1);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY_HUFFMAN_ONLY = System::Int8(0x2);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY_RLE = System::Int8(0x3);
static const System::Int8 CV_IMWRITE_PNG_STRATEGY_FIXED = System::Int8(0x4);
static const System::Int8 CV_IMWRITE_PXM_BINARY = System::Int8(0x20);
static const System::Int8 CV_CVTIMG_FLIP = System::Int8(0x1);
static const System::Int8 CV_CVTIMG_SWAP_RB = System::Int8(0x2);
static const System::Int8 CV_CAP_ANY = System::Int8(0x0);
static const System::Int8 CV_CAP_CAM_0 = System::Int8(0x0);
static const System::Int8 CV_CAP_CAM_1 = System::Int8(0x1);
static const System::Int8 CV_CAP_CAM_2 = System::Int8(0x2);
static const System::Int8 CV_CAP_CAM_3 = System::Int8(0x3);
static const System::Int8 CV_CAP_CAM_4 = System::Int8(0x4);
static const System::Int8 CV_CAP_CAM_5 = System::Int8(0x5);
static const System::Int8 CV_CAP_MIL = System::Int8(0x64);
static const System::Byte CV_CAP_VFW = System::Byte(0xc8);
static const System::Byte CV_CAP_V4L = System::Byte(0xc8);
static const System::Byte CV_CAP_V4L2 = System::Byte(0xc8);
static const System::Word CV_CAP_FIREWARE = System::Word(0x12c);
static const System::Word CV_CAP_FIREWIRE = System::Word(0x12c);
static const System::Word CV_CAP_IEEE1394 = System::Word(0x12c);
static const System::Word CV_CAP_DC1394 = System::Word(0x12c);
static const System::Word CV_CAP_CMU1394 = System::Word(0x12c);
static const System::Word CV_CAP_STEREO = System::Word(0x190);
static const System::Word CV_CAP_TYZX = System::Word(0x190);
static const System::Word CV_TYZX_LEFT = System::Word(0x190);
static const System::Word CV_TYZX_RIGHT = System::Word(0x191);
static const System::Word CV_TYZX_COLOR = System::Word(0x192);
static const System::Word CV_TYZX_Z = System::Word(0x193);
static const System::Word CV_CAP_QT = System::Word(0x1f4);
static const System::Word CV_CAP_UNICAP = System::Word(0x258);
static const System::Word CV_CAP_DSHOW = System::Word(0x2bc);
static const System::Word CV_CAP_PVAPI = System::Word(0x320);
static const System::Word CV_CAP_OPENNI = System::Word(0x384);
static const System::Word CV_CAP_OPENNI_ASUS = System::Word(0x38e);
static const System::Word CV_CAP_ANDROID = System::Word(0x3e8);
static const System::Word CV_CAP_XIAPI = System::Word(0x44c);
static const System::Word CV_CAP_AVFOUNDATION = System::Word(0x4b0);
static const System::Int8 CV_CAP_PROP_DC1394_OFF = System::Int8(-4);
static const System::Int8 CV_CAP_PROP_DC1394_MODE_MANUAL = System::Int8(-3);
static const System::Int8 CV_CAP_PROP_DC1394_MODE_AUTO = System::Int8(-2);
static const System::Int8 CV_CAP_PROP_DC1394_MODE_ONE_PUSH_AUTO = System::Int8(-1);
static const System::Int8 CV_CAP_PROP_POS_MSEC = System::Int8(0x0);
static const System::Int8 CV_CAP_PROP_POS_FRAMES = System::Int8(0x1);
static const System::Int8 CV_CAP_PROP_POS_AVI_RATIO = System::Int8(0x2);
static const System::Int8 CV_CAP_PROP_FRAME_WIDTH = System::Int8(0x3);
static const System::Int8 CV_CAP_PROP_FRAME_HEIGHT = System::Int8(0x4);
static const System::Int8 CV_CAP_PROP_FPS = System::Int8(0x5);
static const System::Int8 CV_CAP_PROP_FOURCC = System::Int8(0x6);
static const System::Int8 CV_CAP_PROP_FRAME_COUNT = System::Int8(0x7);
static const System::Int8 CV_CAP_PROP_FORMAT = System::Int8(0x8);
static const System::Int8 CV_CAP_PROP_MODE = System::Int8(0x9);
static const System::Int8 CV_CAP_PROP_BRIGHTNESS = System::Int8(0xa);
static const System::Int8 CV_CAP_PROP_CONTRAST = System::Int8(0xb);
static const System::Int8 CV_CAP_PROP_SATURATION = System::Int8(0xc);
static const System::Int8 CV_CAP_PROP_HUE = System::Int8(0xd);
static const System::Int8 CV_CAP_PROP_GAIN = System::Int8(0xe);
static const System::Int8 CV_CAP_PROP_EXPOSURE = System::Int8(0xf);
static const System::Int8 CV_CAP_PROP_CONVERT_RGB = System::Int8(0x10);
static const System::Int8 CV_CAP_PROP_WHITE_BALANCE_BLUE_U = System::Int8(0x11);
static const System::Int8 CV_CAP_PROP_RECTIFICATION = System::Int8(0x12);
static const System::Int8 CV_CAP_PROP_MONOCROME = System::Int8(0x13);
static const System::Int8 CV_CAP_PROP_SHARPNESS = System::Int8(0x14);
static const System::Int8 CV_CAP_PROP_AUTO_EXPOSURE = System::Int8(0x15);
static const System::Int8 CV_CAP_PROP_GAMMA = System::Int8(0x16);
static const System::Int8 CV_CAP_PROP_TEMPERATURE = System::Int8(0x17);
static const System::Int8 CV_CAP_PROP_TRIGGER = System::Int8(0x18);
static const System::Int8 CV_CAP_PROP_TRIGGER_DELAY = System::Int8(0x19);
static const System::Int8 CV_CAP_PROP_WHITE_BALANCE_RED_V = System::Int8(0x1a);
static const System::Int8 CV_CAP_PROP_ZOOM = System::Int8(0x1b);
static const System::Int8 CV_CAP_PROP_FOCUS = System::Int8(0x1c);
static const System::Int8 CV_CAP_PROP_GUID = System::Int8(0x1d);
static const System::Int8 CV_CAP_PROP_ISO_SPEED = System::Int8(0x1e);
static const System::Int8 CV_CAP_PROP_MAX_DC1394 = System::Int8(0x1f);
static const System::Int8 CV_CAP_PROP_BACKLIGHT = System::Int8(0x20);
static const System::Int8 CV_CAP_PROP_PAN = System::Int8(0x21);
static const System::Int8 CV_CAP_PROP_TILT = System::Int8(0x22);
static const System::Int8 CV_CAP_PROP_ROLL = System::Int8(0x23);
static const System::Int8 CV_CAP_PROP_IRIS = System::Int8(0x24);
static const System::Int8 CV_CAP_PROP_SETTINGS = System::Int8(0x25);
static const System::Word CV_CAP_PROP_AUTOGRAB = System::Word(0x400);
static const System::Word CV_CAP_PROP_SUPPORTED_PREVIEW_SIZES_STRING = System::Word(0x401);
static const System::Word CV_CAP_PROP_PREVIEW_FORMAT = System::Word(0x402);
static const int CV_CAP_OPENNI_DEPTH_GENERATOR = int(-2147483648);
static const int CV_CAP_OPENNI_IMAGE_GENERATOR = int(0x40000000);
static const int CV_CAP_OPENNI_GENERATORS_MASK = int(-1073741824);
static const System::Int8 CV_CAP_PROP_OPENNI_OUTPUT_MODE = System::Int8(0x64);
static const System::Int8 CV_CAP_PROP_OPENNI_FRAME_MAX_DEPTH = System::Int8(0x65);
static const System::Int8 CV_CAP_PROP_OPENNI_BASELINE = System::Int8(0x66);
static const System::Int8 CV_CAP_PROP_OPENNI_FOCAL_LENGTH = System::Int8(0x67);
static const System::Int8 CV_CAP_PROP_OPENNI_REGISTRATION = System::Int8(0x68);
static const System::Int8 CV_CAP_PROP_OPENNI_REGISTRATION_ON = System::Int8(0x68);
static const System::Int8 CV_CAP_PROP_OPENNI_APPROX_FRAME_SYNC = System::Int8(0x69);
static const System::Int8 CV_CAP_PROP_OPENNI_MAX_BUFFER_SIZE = System::Int8(0x6a);
static const System::Int8 CV_CAP_PROP_OPENNI_CIRCLE_BUFFER = System::Int8(0x6b);
static const System::Int8 CV_CAP_PROP_OPENNI_MAX_TIME_DURATION = System::Int8(0x6c);
static const System::Int8 CV_CAP_PROP_OPENNI_GENERATOR_PRESENT = System::Int8(0x6d);
static const int CV_CAP_OPENNI_IMAGE_GENERATOR_PRESENT = int(0x4000006d);
static const int CV_CAP_OPENNI_IMAGE_GENERATOR_OUTPUT_MODE = int(0x40000064);
static const int CV_CAP_OPENNI_DEPTH_GENERATOR_BASELINE = int(-2147483546);
static const int CV_CAP_OPENNI_DEPTH_GENERATOR_FOCAL_LENGTH = int(-2147483545);
static const int CV_CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION = int(-2147483544);
static const int CV_CAP_OPENNI_DEPTH_GENERATOR_REGISTRATION_ON = int(-2147483544);
static const System::Byte CV_CAP_GSTREAMER_QUEUE_LENGTH = System::Byte(0xc8);
static const System::Word CV_CAP_PROP_PVAPI_MULTICASTIP = System::Word(0x12c);
static const System::Word CV_CAP_PROP_XI_DOWNSAMPLING = System::Word(0x190);
static const System::Word CV_CAP_PROP_XI_DATA_FORMAT = System::Word(0x191);
static const System::Word CV_CAP_PROP_XI_OFFSET_X = System::Word(0x192);
static const System::Word CV_CAP_PROP_XI_OFFSET_Y = System::Word(0x193);
static const System::Word CV_CAP_PROP_XI_TRG_SOURCE = System::Word(0x194);
static const System::Word CV_CAP_PROP_XI_TRG_SOFTWARE = System::Word(0x195);
static const System::Word CV_CAP_PROP_XI_GPI_SELECTOR = System::Word(0x196);
static const System::Word CV_CAP_PROP_XI_GPI_MODE = System::Word(0x197);
static const System::Word CV_CAP_PROP_XI_GPI_LEVEL = System::Word(0x198);
static const System::Word CV_CAP_PROP_XI_GPO_SELECTOR = System::Word(0x199);
static const System::Word CV_CAP_PROP_XI_GPO_MODE = System::Word(0x19a);
static const System::Word CV_CAP_PROP_XI_LED_SELECTOR = System::Word(0x19b);
static const System::Word CV_CAP_PROP_XI_LED_MODE = System::Word(0x19c);
static const System::Word CV_CAP_PROP_XI_MANUAL_WB = System::Word(0x19d);
static const System::Word CV_CAP_PROP_XI_AUTO_WB = System::Word(0x19e);
static const System::Word CV_CAP_PROP_XI_AEAG = System::Word(0x19f);
static const System::Word CV_CAP_PROP_XI_EXP_PRIORITY = System::Word(0x1a0);
static const System::Word CV_CAP_PROP_XI_AE_MAX_LIMIT = System::Word(0x1a1);
static const System::Word CV_CAP_PROP_XI_AEAG_LEVEL = System::Word(0x1a3);
static const System::Word CV_CAP_PROP_XI_TIMEOUT = System::Word(0x1a4);
static const System::Word CV_CAP_PROP_ANDROID_FLASH_MODE = System::Word(0x1f41);
static const System::Word CV_CAP_PROP_ANDROID_FOCUS_MODE = System::Word(0x1f42);
static const System::Word CV_CAP_PROP_ANDROID_WHITE_BALANCE = System::Word(0x1f43);
static const System::Word CV_CAP_PROP_ANDROID_ANTIBANDING = System::Word(0x1f44);
static const System::Word CV_CAP_PROP_ANDROID_FOCAL_LENGTH = System::Word(0x1f45);
static const System::Word CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_NEAR = System::Word(0x1f46);
static const System::Word CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_OPTIMAL = System::Word(0x1f47);
static const System::Word CV_CAP_PROP_ANDROID_FOCUS_DISTANCE_FAR = System::Word(0x1f48);
static const System::Word CV_CAP_PROP_IOS_DEVICE_FOCUS = System::Word(0x2329);
static const System::Word CV_CAP_PROP_IOS_DEVICE_EXPOSURE = System::Word(0x232a);
static const System::Word CV_CAP_PROP_IOS_DEVICE_FLASH = System::Word(0x232b);
static const System::Word CV_CAP_PROP_IOS_DEVICE_WHITEBALANCE = System::Word(0x232c);
static const System::Word CV_CAP_PROP_IOS_DEVICE_TORCH = System::Word(0x232d);
static const System::Int8 CV_CAP_OPENNI_DEPTH_MAP = System::Int8(0x0);
static const System::Int8 CV_CAP_OPENNI_POINT_CLOUD_MAP = System::Int8(0x1);
static const System::Int8 CV_CAP_OPENNI_DISPARITY_MAP = System::Int8(0x2);
static const System::Int8 CV_CAP_OPENNI_DISPARITY_MAP_32F = System::Int8(0x3);
static const System::Int8 CV_CAP_OPENNI_VALID_DEPTH_MASK = System::Int8(0x4);
static const System::Int8 CV_CAP_OPENNI_BGR_IMAGE = System::Int8(0x5);
static const System::Int8 CV_CAP_OPENNI_GRAY_IMAGE = System::Int8(0x6);
static const System::Int8 CV_CAP_OPENNI_VGA_30HZ = System::Int8(0x0);
static const System::Int8 CV_CAP_OPENNI_SXGA_15HZ = System::Int8(0x1);
static const System::Int8 CV_CAP_OPENNI_SXGA_30HZ = System::Int8(0x2);
static const System::Int8 CV_CAP_ANDROID_COLOR_FRAME_BGR = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_COLOR_FRAME = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_GREY_FRAME = System::Int8(0x1);
static const System::Int8 CV_CAP_ANDROID_COLOR_FRAME_RGB = System::Int8(0x2);
static const System::Int8 CV_CAP_ANDROID_COLOR_FRAME_BGRA = System::Int8(0x3);
static const System::Int8 CV_CAP_ANDROID_COLOR_FRAME_RGBA = System::Int8(0x4);
static const System::Int8 CV_CAP_ANDROID_FLASH_MODE_AUTO = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_FLASH_MODE_OFF = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_FLASH_MODE_ON = System::Int8(0x1);
static const System::Int8 CV_CAP_ANDROID_FLASH_MODE_RED_EYE = System::Int8(0x2);
static const System::Int8 CV_CAP_ANDROID_FLASH_MODE_TORCH = System::Int8(0x3);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_AUTO = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_CONTINUOUS_VIDEO = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_EDOF = System::Int8(0x1);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_FIXED = System::Int8(0x2);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_INFINITY = System::Int8(0x3);
static const System::Int8 CV_CAP_ANDROID_FOCUS_MODE_MACRO = System::Int8(0x4);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_AUTO = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_CLOUDY_DAYLIGHT = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_DAYLIGHT = System::Int8(0x1);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_FLUORESCENT = System::Int8(0x2);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_INCANDESCENT = System::Int8(0x3);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_SHADE = System::Int8(0x4);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_TWILIGHT = System::Int8(0x5);
static const System::Int8 CV_CAP_ANDROID_WHITE_BALANCE_WARM_FLUORESCENT = System::Int8(0x6);
static const System::Int8 CV_CAP_ANDROID_ANTIBANDING_50HZ = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_ANTIBANDING_60HZ = System::Int8(0x0);
static const System::Int8 CV_CAP_ANDROID_ANTIBANDING_AUTO = System::Int8(0x1);
static const System::Int8 CV_CAP_ANDROID_ANTIBANDING_OFF = System::Int8(0x2);
extern DELPHI_PACKAGE TcvLoadImage cvvLoadImage;
extern DELPHI_PACKAGE TcvWaitKey cvvWaitKey;
extern DELPHI_PACKAGE TcvSetPreprocessFuncWin32_ cvSetPreprocessFuncWin32;
extern DELPHI_PACKAGE TcvSetPostprocessFuncWin32_ cvSetPostprocessFuncWin32;
extern DELPHI_PACKAGE TcvSetPostprocessFuncWin32_ set_postprocess_func;
extern DELPHI_PACKAGE int __fastcall CV_FOURCC(const char c1, const char c2, const char c3, const char c4);
extern "C" int __cdecl cvNamedWindow(const char * name, int flags = 0x1);
extern "C" void __cdecl cvShowImage(const char * name, const void * image);
extern "C" int __cdecl cvWaitKey(int delay = 0x0);
extern "C" void __cdecl cvDestroyWindow(const char * name);
extern "C" void __cdecl cvDestroyAllWindows(void);
extern "C" Ocv::Core::Types_c::pIplImage __cdecl cvLoadImage(const char * filename, int iscolor = 0xffffffff);
extern "C" pCvCapture __cdecl cvCreateFileCapture(const char * filename);
extern "C" Ocv::Core::Types_c::pIplImage __cdecl cvQueryFrame(pCvCapture capture);
extern "C" void __cdecl cvReleaseCapture(pCvCapture &capture);
extern "C" int __cdecl cvSetCaptureProperty(pCvCapture capture, int property_id, double value);
extern "C" double __cdecl cvGetCaptureProperty(pCvCapture capture, int property_id);
extern "C" int __cdecl cvCreateTrackbar(const char * trackbar_name, const char * window_name, System::PInteger value, int count, TCvTrackbarCallback on_change);
extern "C" pCvCapture __cdecl cvCreateCameraCapture(int index);
extern "C" int __cdecl cvSaveImage(const char * filename, const void * image, const System::PInteger params = (System::PInteger)(0x0));
extern "C" pCvVideoWriter __cdecl cvCreateVideoWriter(const char * filename, int fourcc, double fps, const Ocv::Core::Types_c::TCvSize frame_size, int is_color = 0x1);
extern "C" int __cdecl cvWriteFrame(pCvVideoWriter writer, Ocv::Core::Types_c::pIplImage image);
extern "C" void __cdecl cvReleaseVideoWriter(pCvVideoWriter &writer);
extern "C" void __cdecl cvSetMouseCallback(const char * window_name, TCvMouseCallback on_mouse, void * param = (void *)(0x0));
extern "C" void __cdecl cvConvertImage(const void * src, void * dst, int flags = 0x0);
extern "C" void __cdecl cvMoveWindow(const char * name, int x, int y);
extern "C" void __cdecl cvResizeWindow(char * name, int width, int height);
extern "C" void __cdecl cvSetWindowProperty(char * name, int prop_id, double prop_value);
extern "C" double __cdecl cvGetWindowProperty(char * name, int prop_id);
extern "C" int __cdecl cvInitSystem(int argc, Ocv::Core::Types_c::ppCVChar argv);
extern "C" int __cdecl cvStartWindowThread(void);
extern "C" int __cdecl cvCreateTrackbar2(const char * trackbar_name, const char * window_name, System::PInteger value, int count, TCvTrackbarCallback2 on_change, void * userdata = (void *)(0x0));
extern "C" int __cdecl cvGetTrackbarPos(const char * trackbar_name, const char * window_name);
extern "C" void __cdecl cvSetTrackbarPos(const char * trackbar_name, const char * window_name, int pos);
extern "C" void * __cdecl cvGetWindowHandle(const char * name);
extern "C" char * __cdecl cvGetWindowName(void * window_handle);
extern "C" Ocv::Core::Types_c::pCvMat __cdecl cvLoadImageM(const char * filename, int iscolor = 0x1);
extern "C" Ocv::Core::Types_c::pIplImage __cdecl cvDecodeImage(const Ocv::Core::Types_c::pCvMat buf, int iscolor = 0x1);
extern "C" Ocv::Core::Types_c::pCvMat __cdecl cvDecodeImageM(const Ocv::Core::Types_c::pCvMat buf, int iscolor = 0x1);
extern "C" Ocv::Core::Types_c::pCvMat __cdecl cvEncodeImage(const char * ext, const void * image, const System::PInteger params = (System::PInteger)(0x0));
extern "C" void __cdecl cvSetOpenGlDrawCallback(const char * window_name, TCvOpenGlDrawCallback callback, void * userdata = (void *)(0x0));
extern "C" void __cdecl cvSetOpenGlContext(char * window_name);
extern "C" void __cdecl cvUpdateWindow(char * window_name);
extern "C" int __cdecl cvGrabFrame(pCvCapture capture);
extern "C" Ocv::Core::Types_c::pIplImage __cdecl cvRetrieveFrame(pCvCapture capture, int streamIdx = 0x0);
extern "C" int __cdecl cvGetCaptureDomain(pCvCapture capture);
extern "C" void __cdecl cvSetPreprocessFuncWin32_(const void * callback);
extern "C" void __cdecl cvSetPostprocessFuncWin32_(const void * callback);
}	/* namespace Highgui_c */
}	/* namespace Ocv */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_OCV_HIGHGUI_C)
using namespace Ocv::Highgui_c;
#endif
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_OCV)
using namespace Ocv;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Ocv_Highgui_cHPP
